var express = require('express');
var router = express.Router();
var fs = require('fs')

/* GET home page. */
router.get('/', function (req, res, next) {
    let configs = JSON.parse(fs.readFileSync("./public/apps.config.json", "utf-8"))
    res.render('index', {apps:configs});
});


module.exports = router;
